package com.shop.shopmall.service;

import com.shop.shopmall.pojo.Menu;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
* @author jamie
* @description 针对表【menu】的数据库操作Service
* @createDate 2025-03-20 11:53:37
*/
public interface MenuService extends IService<Menu> {

    /**
     * 获取所有菜单
     * @return
     */
    List<Menu> getAllMenus();

    /**
     * 根据条件获取菜单
     * @param menu
     * @return
     */
    List<Menu> getMenu(Menu menu);

}
